import {
	groupHttp
} from "../config.js";
// 获取转盘奖品
export const getTurntableByGroupBookId = (params) =>{
	return groupHttp.post('draw-server/turntableConfig/getTurntableByGroupBookId',params,false)
}
// 转盘抽奖
export const luckDraw = (params) =>{
	return groupHttp.post('draw-server/turntableConfig/luckDraw',params,false)
}
// 获取最近一个团详情
export const getNewGroupBookLog = (params) =>{
	return groupHttp.post('main-server/groupBookLog/getNewGroupBookLog',params,false)
}
// 根据团ID获取团详情
export const loadGroupBookById = (params) =>{
	return groupHttp.post('main-server/groupBook/loadGroupBookById',params,false)
}
// 根据团ID获取团详情
export const exitsJoin = (params) =>{
	return groupHttp.post('main-server/groupBookLog/exitsJoin',params,false)
}
// 获取所有团类型
export const getList = (params) =>{
	return groupHttp.post('main-server/groupBook/getListApp',params,false)
}
// 获取子账号列表
export const getChildUserByUserCode = (params) =>{
	return groupHttp.post('main-server/user/getChildUserByUserCode',params,false,false)
}
// 创建子账号
export const addChildUser = (params) =>{
	return groupHttp.post('main-server/childUser/addChildUser',params,false)
}
// 获取可创建子账号次数
export const getUserEstablish = (params) =>{
	return groupHttp.post('main-server/user/getUserEstablish',params,false)
}
// 奖品列表
export const getWinningLogByUser = (params) =>{
	return groupHttp.post('draw-server/winningLog/getWinningLogByUser',params,false,false)
} 
//获取子账号参团 
export const join = (params) =>{
	return groupHttp.post('main-server/joinLog/join',params,false)
}
//查看子账号抽奖情况 
export const getAccountDrawCount = (params) =>{
	return groupHttp.post('main-server/joinLog/getAccountDrawCount',params,false,false)
}
//查看拼团记录
export const pageJoinLog = (params) =>{
	return groupHttp.post('main-server/joinLog/pageJoinLog',params,false,false)
}
//拼团规则说明
export const getExplainById = (params) =>{
	return groupHttp.post('main-server/explain/getExplainById',params,false,false)
}
//获取奖金
export const getPrizePool = (params) =>{
	return groupHttp.post('main-server/joinLog/getPrizePool',params,false,false)
}
//获取团队拼团详情
export const getUserJoinInfo = (params) =>{
	return groupHttp.post('main-server/userJoinInfo/getUserJoinInfo',params,false,false)
}
//获取直推会员拼团详情
export const getChildUserJoin = (params) =>{
	return groupHttp.post('main-server/userJoinInfo/getChildUserJoin',params,false,false)
}
//获取红包记录
export const pageRedBag = (params) =>{
	return groupHttp.post('main-server/redBag/pageRedBag',params,false,false)
}
//领取红包
export const doRedBag = (params) =>{
	return groupHttp.post('main-server/redBag/doRedBag',params,false,false)
}
//获取达人
export const getDaRenList = (params) =>{
	return groupHttp.post('main-server/diamondFinanceLog/getDaRenList',params,false,false)
}






